#ifndef DATABASE_LOGGER_FACTORY_H
#define DATABASE_LOGGER_FACTORY_H

#include "logger_factory.h"
#include "database_logger.h"

class DatabaseLoggerFactory : public LoggerFactory {
public:
    DatabaseLoggerFactory() {
        cout << __func__ << endl;
    }
    ~DatabaseLoggerFactory() {
        cout << __func__ << endl;
    }
    shared_ptr<AbstractLogger> create() override {
        return make_shared<DatabaseLogger>();
    }
};

#endif // DATABASE_LOGGER_FACTORY_H
